home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / Q-R / RPN Calculator.cpt / RPN Calculator / card_8130.txt < prev    next >
Text File  |  1988-09-16  |  1KB  |  48 lines

  1. -- card: 8130 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 4000
  4. -- background id: 2499
  5. -- name: Stat
  6. ----- HyperTalk script -----
  7. on openCard
  8.   put "Statistical" into field "Title"
  9. end openCard
  10.  
  11.  
  12.  
  13. -- part 1 (button)
  14. -- low flags: 00
  15. -- high flags: 8003
  16. -- rect: left=443 top=319 right=339 bottom=486
  17. -- title width / last selected line: 0
  18. -- icon id / first selected line: 0 / 0
  19. -- text alignment: 1
  20. -- font id: 0
  21. -- text size: 12
  22. -- style flags: 0
  23. -- line height: 16
  24. -- part name: Next
  25. ----- HyperTalk script -----
  26. on mouseUp
  27.   go to next card
  28. end mouseUp
  29.  
  30.  
  31.  
  32. -- part contents for background part 1
  33. ----- text -----
  34. Using single variable statistics:
  35.  
  36. [Cl‚àë] clears the statistical registers.  Always press this before starting a new calculation.
  37.  
  38. [ ‚àë+] takes the value in the x register and calculates the sum and sum of squares.  The variable count is incremented and displayed in the big register under the calculator.  Click [inv] before [ ‚àë+] and the value in x is removed from the calculation.
  39.  
  40. [Stat] puts the average (mean) into x and the unbiased standard deviation into y, and the variance (unbiased) into z.
  41.  
  42. [Sh‚àë] (Show stat registers) puts the sum into t (top register) and the sum of squares into z.  The count remains displayed in the big register.
  43.  
  44.  
  45.  
  46. -- part contents for background part 6
  47. ----- text -----
  48. Statistical